<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
</html>
<?php
	//讀取profile_controller.php
	require('../Controller/profile_controller.php');
	//讀取post
	$id = $_POST["id"];
	$name = $_POST["name"];
	$birth = $_POST["birth"];
	$tel = $_POST["tel"];
	$control = new Profile_Controller();
	$control->profileEdit($id, $name, $birth, $tel);
	header("location:profile.php?id=$id");
?>